The rear camera on my iPhone X has a red tint and cracking. There is no visible external damage. The tint and cracking is seen when taking a picture and on the actual pictures.
It looks like you have something on the lens on the case. Open it up and pull the camera out and look through the outer lens and see if something is stained. It either on the inside or the outside. You might be able to replace just the lens cover.