Woke up with extreme pain and tightness in my upper left side ribs. I couldn't even lay on it, it hurt so badly. What's causing this?

Strained intercostal. Sometimes we get in strange positions when we sleep and can strain the muscles that run between our ribs. If it goes away, nothing to worry about. If it doesn't improve or gets worse, be evaluated.