Fetching details from the dictionary...

to get twisted; to get crooked; to get warped
to become twisted (of a mind, relationship, etc.); to become warped; to become perverse; to become contrary
to become troubled; to become complicated; to become strained
国会がねじれると法案の審議が難航する。
When parliament is divided, deliberation on bills becomes difficult.
ケーブルがねじれて断線の原因になった。
The cable became twisted, causing a disconnection.
感情がねじれて素直に喜べなくなった。
My feelings got twisted and I could no longer feel honest joy.