I have a question concerning golf balls and something I witnessed at the Open and the current Olympic Games

After taking the ball out of the hole, the players frequently look at it as if they are examining it. What do they seek to find? I witness Rahm, Fleetwood, and Xander doing it.

Some players examine the ball to see if their markings or alignment lines are still intact. This can help with putting accuracy and consistency.