Why do we feel secondhand embarrassment so intensely?

Like, I can watch action movies with brutal fight scenes and be fine. But the moment I see someone on TV embarrass themselves in a cringey way, I physically have to look away.

Why does my brain react as if I’m the one who just embarrassed myself?