Ear infections always seem to cause more problems in the night. When my dd or ds's have had them, there is nothing you can do to comfort them - they sort of get all 'beside themselves'. Very distressing. Anyway hope the Dr's went ok and your son is not too unwell.
My youngest ds is 15 months, is awake a lot in the night at the mo as he cutting 4 doubles and suffers with severe constipation! The joys Here's to a good nights sleep.
It might have triggered the dreaded NIGHT TERRORS! I recognise this as my daughter went through it at the age of 4 or 5. We found it really disturbing and at first, didn't know what it was. The worst thing we did was try to wake her up as that made her worse. The best thing to do, is sit by him, but out of sight to make sure he's not coming to any harm. The difference with night terrors is the child doesn't remember them in the morning like nightmares, which is prob why your DS seems fine in the morning. Best not to discuss the dreams with him, but find out if anything else is bothering him. With my DD1 she had seen Numberjacks for the first time and TOTALLY freaked out at the 'Problem Blob' (there were a lot of complaints of that programme freaking kids out but they didn't take it off air ) and this seemed to be the root cause. Maybe if your DS was ill that brought it on, unless you think he wasn't asleep when he was thrashing around? Anyway, It did pass after a couple of weeks and hopefully he won't have it again.