Question: what does it mean when he gives you a nickname?
Answer: The reason why giving you a desirable nickname could suggest that he is attracted to you is that it would suggest that he wants you to feel better around him and that he wants you to enjoy being around him.