Yeah I had that issue at my last job with a couple coworkers and the supervisor. They would like make jokes that would secretly be insults and just be rude. They would be so subliminal with their insults I couldn’t tell if I was imaging things or not. Although I know a lot of it really did go on. They eventually all left and by the time I left work in June due to Covid I had a good spot and everyone was really nice. Those few months were brutal I actually had to switch shifts because of one girl.
Most of the time people are just assholes who have issues of their own and feel bad about themselves so they want to make others feel bad too. Low self esteem. But it does hurt.
For me I had to just keep pushing until things got better. I got really involved in this TV show that I’d binge watch when I came home. Being distracted helped a lot.