It’s probably because the interview process relied heavily on leetcode questions. If it did, one can effectively prepare for that and only that and can be overemployed.
Where? I have candidates solve a real closed-ended problem in the space we’re working in. I also give them a lot of source code to read and respond to and find issues with.