Trouble with supervisor while pregnant

So I’m 15 weeks today and the past couple of weeks and especially today my supervisor has been targeting me being so unpleasant I just want to quit my job at this point (that bit is probably my hormones speaking lol)

Anyway after days of digs and rude comments etc my other colleague and friend discovered today she is being like this because she wants a baby but her boyfriend has just broken up with her… so she’s finding it hard watching me

I feel terrible for her situation but at the same time I want to maintain a professional relationship. Does anyone have any advice? Do I need to let her ride out these feelings and hope they go away soon?