Sorry this happened to you, and I agree that this is extremely petty. As long as you were doing your job well, not gossiping about work, and the manager was doing her job without bias it should have not been an issue. There are situations everywhere ...