It can be rational to appear irrational. It is a tactic that is widely used by extortionists; as an extortionist you want to impose as much fear as possible on your opponent that you will execute your threat. And if you're unpredictable that threat looks more scary so your victim might be more willing to pay.