It's what is technically known as a cock-up on this side of the pond!
Most probably down to mis-communication by someone on the handling side. You may find that whilst you were waiting impatiently there was a poor misinformed agent scrambling around the terminal trying to find out what gate your a/c was re-assigned to.