Every iPhone screen ever made can be scratched and every year, people come here after getting a new iPhone saying their screen scratched too easily. While the Ceramic Shield glass on iPhone (unfortunately named, in my opinion) can be scratched, it is significantly harder to break. And that is a trade off. No one has yet learned how to make glass which is harder to scratch and break at the same time.
This is why Apple installs screen protectors in-store every day and screen protectors are a multi-billion dollar business. Install a screen protector to avoid future scratches, which will likely hide whatever scratch you’ve now gotten. When I get a new iPhone, I put a screen protector on it, before I even turn it on to set it up.
Cosmetic damage is NOT covered by your warranty.