His social media posts are very specifically designed to distract and pack the news cycle full of garbage, drowning out what actually matters. His entire life, his main defense to anything has been to attack and distract.
His posting style is also very typical of facist governments.
His approval rating is the worst of any president since WW2, including his first term, which was the previous 'record holder.' The Iran war is deeply unpopular with the American people, the skyrocketing gas and diesel prices are infuriating many. He's desperate to shift attention.