Sleep regression, teething or?

Curious we have been dealing with this for a few weeks now. Our daughter is usually an amazing sleeper sleeps through the night from 6:30pm-7am give or take. Well a few weeks ago she had a bad night cause of constipation which was followed by a really bad teething poop rash that kept her up and down for about a week. But finally after it resolved we thought okay we should be getting back to normal in a few days that was two weeks ago. Shes still waking a minimum of two times a night, but it’s weird she will cry until we lay in the rocker with her and she will instantly fall asleep. And then we will put her in her crib sometimes she will start crying and then fall asleep. At first we thought teething but usually if it was pain she wouldn’t be comfortable in the rocker. Another we thought is I am pregnant and maybe she is having separation anxiety ? An another we thought maybe she was scared to be alonr in the dark but we have no clue. Has anyone delt with this? What helped ?