My son wakes up crying?

Last night my son kept waking up crying hysterically then would go right back to sleep. Last night it was really hard to get him to sleep, he HATES going to sleep. He seems fine, but he’s never done this before. Could it be from teething? Or bad dreams? I’m a bit concerned. He’s almost 7 months. Has anyone else had this problem?