OK I don't know if this is EU or real world science but...
ion cannons wouldn't work on ATAT's simply because they are grounded and the electricity would get absorbed away from the ATAT's where the SD is in space and the electricity has nowhere to go so it fries the systems of the ship