Because he was in the hospital. The Alamo was surrounded.
Destroying the Alamo meant killing all inside which is what the end
result was anyway. By not destroying it, they were able to take
more Mexican soldiers with them hence weakening Santa Anna's
army.