Phrase implies that a disagreeable person has entered a room
look what the cat dragged in
Whoa, you look pretty awful. What's up?