When the body is asleep and the mind is in a state of high tension, of course, it will wake up involuntarily. This is a reflection of instinct, and there is no need to deliberately over-interpret it.
There is a saying in life that you think about things day and night. Dreaming has a lot to do with many things you think during the day. I think you should pay more attention to exercise at ordinary times, so as to have a good attitude. I'm sure you will dream less.