He was fired for lying to Mike Pence about it.
Except the evidence for that is very ambiguous. Could easily have been a mild misunderstanding.
and that’s how the resignation letter reads to me...