I've been at the gate when they've made announcements with a destination and flight number check and seen someone hastily grab his things and get off the plane, realizing he had boarded at the wrong gate. This happened at a gate where the boarding doors were right next to each other with 2 flights boarding at the same time. Possible he just got turned around and went in the wrong door.