Massage can relax the body and mind and help sleep, which everyone can understand and experience. Putting children to sleep and beating rhythmically are examples of applications. But nightmares, long sleep, fatigue, etc. It's definitely not caused by your massage, so you don't have to worry about it.
As for the specific reasons for his state, we need to know his recent physical and mental state. It is estimated that he is physically tired, nervous, or ill.