Fuckall mentality. You're their friend. You are behaving like that irritating relative who says ennaku mariyadai kudukala / maaku mariyada ivvatledu ani. You're the friend, you need to be there without an invitation. Simple. Show up. Be there for your friend. You've the lifetime to rag them for not inviting.