Of course, guys do it, too. Either to show off, or simply because he doesn’t really care about how you feel. Think about this. If he’s really into you, he wouldn’t ask for an advice regarding his love life from you.
If he does that, it’s a big red flag that you’re just a friend, and he’s not really into you. You know what lane this leads into. The friendzone lane.