How to tell if my friend is gay

You may want to know if your friend is gay, but there may be a good reason why they're staying closeted. By "outing" them, even to yourself, you may be putting them in danger.
He may react with anger, denial, or irritation if someone questions his sexual orientation or suggests that he might be gay. For example, if a friend teasingly asks if he has ever had a crush on another man, he might respond with an overly aggressive or defensive remark, emphasizing his straightness and dismissing the question outright.