If they are looking at you, they aren't paying attention to the X-wings about to knock in their flanks.
It doesn't really matter. It's not like an AT-AT would be able to do anything about an X-wing in any case, unless the X-wing pilot was beyond incompetent. Air superiority (or is it space superiority?) fighters should be there to deal with X-wings.