Sleeping(warning long post)

My son is 21 months, and he had been sleeping in a toddler bed for a few months no problems he would go down and settle and be asleep within minutes. So the last two weeks it’s all changed he now cries and screams every time we leave him then runs out the room, no matter what we do he just won’t settle. Me and my parter been taking turns to lay on the floor next to him sometimes for nearly two hours till he sleeps, I am currently 24 weeks pregnant again and really want him to go back to sleeping good. Has anyone been through this? Anyone got any ideas why or what could help. I’m in desperate need.

Thank you