Another way to say "Dogs wag their tails when they're happy" is "Happy dogs wag their tails"