People who make these statements may or may not be ego driven. Not: everybody who says one of these sentences is 100% ego driven.
There are valid reasons to suggest use or avoidance of a tool, but there are also ego driven reasons. And everybody who has worked in any organizational context knows that. That guy may suggest to use Excel for a job that he knows require databases, but he is a wizard in Excel and hates to work with databases for some reason. So the ego driven part here is to instead of considering the needs of the project, he considers his own needs and potentially pushes them more than would be good.
Or the guy who says we should never use $X because he had been bitten by a thing programmed with $X in a hot summer night in the late 90s and he hasn't had a look at $X ever since. While it is okay to phrase such bad experiences, insisting on it for a whole team without real rational reasons or proper research can again be ego driven.
Or the person that just wants to suggest a new tool so they look as if they contributed without even having tested the tool themselves. The reason for the suggestion isn't that it would help the project, but one of gaining social capital.
Note that many of these people wouldn't even be aware of that, to themselves they would have perfectly fine reasons why they said what they said.
> programmed with $X in a hot summer night in the late 90s and he hasn't had a look at $X ever since
Oh, I’m all in agreement with this but there’s another side to this:
Programmer worked with a product from the company back in ‘00 enough to know it is a piece of shit and the whole company culture is bullshit and band-aid fixes. They know they can still find similar bugs to the ones they reported, just using the new shiny API that got tacked on.