He has horns because he's horny. Get it? The horns represent his need to breed. Do you understand the visual gag? The joke is that the male character has protrusions on his head to symbolize the fact that he wants to have sexual relations with the female character. It's meant to visually cue you in on what the character is feeling without him having to say how he is feeling. Does this explain the joke to you?