Because, as the article states, people aren’t using prepared statements. Instead, they pass f-strings because they’re more convenient.
Prepared statements were the recommended way to run SQL queries when I was starting with PHP 15 years ago, anyone writing code vulnerable to SQL injection at this point should not be writing code.