Arching back

My baby just turned 4 months old and yesterday out of no where he started arching his back. He’s been doing it yesterday and today for no reason- sometimes when he’s happy, sometimes when he’s crying. I do have an appointment with the nurse tomorrow so I’ll ask, but has anyone dealt with anything like this?