Exactly.
To besiege the Alamo was pointless and unnecessary. It delayed the Mexican army from doing much more vital strategic things that could have won them the campaign. It was simply a grandiose act of pride by Santa Ana. Militarily speaking, the man was an idiot.