If you can wrap SQLite as close-source and sell it for a price, great, go ahead and do that. Because it is public domain, there is no restrictions, and it could be a good thing even it doesn't contribute back to the original author.
The other controversy around Fat Fritz 2 and Stockfish is a clear cut though. You wrap around Stockfish and sell it, which in itself is fine. The argument on why that practice is not OK is not about the harm to the original author (Stockfish) but to the users.
Fat Fritz 2's practice (of hiding itself as a Stockfish variant) stripped the user's right to know there are free-alternative.s By depriving that knowledge, their users will not make the best choice they can make, and that is a net loss (you can make the argument that the price user pay is what the market exploits the information asymmetry, therefore, it helps to create "efficient" market, but ...).
OTOH, if you can display both the free alternative and the paid version, successfully at selling the paid version. Even without any of that come back to the original author, it is a net gain in exposure. The society at large can also benefit (potentially encourage more derived work, and more knowledge sharing besides the original authors etc.).