It happens to me early on in pregnancy, my boobs get bigger and I am a tummy sleeper so the way I sleep changes and my upper back gets sore, maybe it's the same for you.