Is it pretty common for this to happen?
I just got completely marginalized at my last workplace after they realized how socially inept I was and basically forced out the door. It also happened my job before that. Both were startups though.
Wondering if that's pretty common or if I just had bad workplaces?
Now don't take this the wrong way and think the world is against you and don't get bitter. These moments can be great moments to learn and grow up, and not every act that seems hostile is, or is at least deliberately so in full awareness of the perpetrator.
Like it or not, the onus is also on you to fix your shit, whatever that may be, and try to understand these situations and what behaviour on your part may contribute to landing in them.
I'm talking in general terms not knowing anyone's situation but mine.