drop someone in it

Intermédiaire supérieur (B2) informal

Say or do something that gets another person into trouble, often by accident.

"She completely dropped me in it when she told the manager I had been leaving early."