Why did I wake up shaking
could of had a nightmare
Maybe you had a nightmare. I've done that before, many times.
you ate spicy food before going to sleep
Couldve been a dream that you can't remember. Or even something you ate or drank before you went to sleep.
Maybe you were cold
You could have had a nightmare that you didn't remember.
It could be that you are cold.