Why does my 5 month old only like laying down?

She will scream her head off if we sit her up (even if we’re holding her and she’s sitting), during tummy time, etc. The only time she’s happy and content is if she’s laying on her back.. it’s caused her head to become kinda flat in the back. Idk what to do