To be fair, most Software Engineers are able to secure multiple offers and even more interviews. Or at least that’s my impression which may be the result of survivorship bias.
And it only gets easier after your first gig.
In that instance, where an engineer can easily leave your company, it makes sense to want to ensure they really want the position since interviewing and onboarding are very expensive for a company as well as having someone leave with a bunch of institutional knowledge built up over the years.
It’s also probably the easiest question in the world to totally bullshit with just a vague grasp of what the company does.
“One of the things that really excited me about <company X> is the problems you must face dealing with <such large amounts of data, securing your system, supporting N users on the app at once, syncing data across data zones>” etc etc. or “I think it’d be really neat to work at a company in the <healthcare, finance, whatever> industry because I’ve always wanted to <improve lives, learn about high frequency trading>”
And even if it’s an easy enough thing to BS it should also be genuinely easy to find an exciting reason to want to work somewhere in our field.