Much of the hostility from fellow troops during both world wars was entirely understandable, as Cinders says; if you had an active sniper working from a loop hole in the next fire bay to you you just were asking for a retaliatory stonk from the Germans. Of course, it wasn't just snipers who were unpopular for this sort of reason - the Stokes mortar men were too; coming up, blatting off a few rounds & then buggering off before the incoming arrived.
Sorry, have wandered off topic a bit.......