No one answered the question of "Why."
Why does it matter if someone's name matches their boarding pass?
Someone with malicious intent could easily make a fake name and fake ID. They'd still need to go through security which presumably would remove anything dangerous from them.
So why do we need a name in the first place? Sure, the airline might want the name for record-keeping purposes, but from a safety and privacy perspective, there's no real reason we need people's names.