How do men know how to cheer up the women that they care about?

The reason why I'm asking this question is because I wanted to know How do men know how to cheer up the women that they care about and here is an example: men sees the women that they care about upset or even mad and the men talks to the women that they care about to find out what the problem is and the men helps the women that they care about and cheers the women that they care about and make them feel better and please no inappropriate opinions and please appropriate opinions
How do men know how to cheer up the women that they care about?
Post Opinion