In this case, the A must have been cashed already at an earlier stage to squeeze East when declarer leads the A and discards the 2 from the table.
When declarer leads with the A and discards the 2, it indicates that the A was already cashed earlier. This allows for a strategy to target East by exploiting this fact.