Hi Melle and WELCOME

!
There is no easy answer for this one, I think your baby needs to see a vet asap. It could be a UTI, but bc this is happening in her sleep, it could also be something structural or neurological.
Are there *any* other symptoms she is having in addition?