You see an old man with 7 canaries
WE ATTACK HIM LOL
The DM doesn't need to trick the players into attacking if that's exactly what is expected of them. This is no different from a trap in a dungeon. If the players' first reaction to anything is killing and looting (and the game wasn't about that from the get go), it's a valid reminder that they better watch out for consequences.