Why do guys want favors in return, when they do something for a girl?

I asked my guy friend could he do a favor. He then says what is I going to do for him in return? Do all guys want something in return from a girl when they're attracted to her? I thought they'd do it for free?
Why do guys want favors in return, when they do something for a girl?
Post Opinion