To impress Barry's Hollywood friends?
He did it because someone told him the US military tested a nuke during the Cuban Crisis in 62 as a show of strength to the Ruskies. Odumbo figured he would do the same. His doing this is like someone who got cut off and crashed his car standing on a bridge and waiving his fist at the guy who drove him off the road...all for show.