Why do guys always try and get a reaction from you?

Lets say

If they talk to you

If they don't you (like co worker or classmate,etc)

Or stranger?