Freedom of speech isn't the issue here. It's the same reason you'll get in trouble for falsely yelling "fire" in a crowded place. He did the equivalent of going around town and posting pictures of his wife with his rant. Since that would very likely cause people to react negatively to his wife, then it violates the protection order.
Abusive comment hidden.
(Show it anyway.)