Erection

If a man has an erection does it always mean that he is turned on? Or not necessarily? Bc sometimes when I’m just non-sexually playing with my man’s dick he gets a hard on and he doesn’t try to do anything sexual with me