How come I didn't get invited?

Because your ex was coming and they thought it would make you uncomfortable.