After 8 months of not talking he sent me a private message to congratulate me. Is he just being nice?

He used to find me attractive in the past. We never dated and aren’t even friends. We had some conversations in the instagram DM’s months ago. He is he being nice to me?
After 8 months of not talking he sent me a private message to congratulate me. Is he just being nice?
Post Opinion