Actually, I am pretty sure that babies can have nightmares. I remember Jack seemed to have one very young and I asked the MCHN who said that yes, babies definitely can have them. So most likely that's what happened. It is very normal and nothing to worry about.