Can’t sleep

So for awhile now, whenever I have to get up in the night to feed and rock my baby back to sleep, I can’t fall back to sleep for several hours. It usually takes anywhere from 30 minutes to and hour sometimes to get her back to sleep. After that time, I go back to bed and end up just laying there for hours! Like last night, she woke up around 12:30. I went in and fed her and rocked her. It took about 45 minutes to get her back to sleep. Then I went back to bed and laid there until 4:30!! This is really starting to get annoying. Since we are still having to get up in the night with her, I don’t need to be losing more sleep on top of it. Anyone else have the same problem? Or know why I’m doing this?

** I should note, the nights my husband gets up with her, I can go right back to sleep bc I never got out of bed!