(something) gets tangled up

Long, thin things like ropes, cables, and hair sometimes "get tangled up". This means that they accidentally get tied into confusing little knots. 

You don't need to include "up". You can also just say, for example:

The cord is tangled.

This is a little more formal and serious-sounding.

This phrase appears in these lessons: