The pear you are holding is a crown pear, and the spots on it are called chicken feet.
Some pears grow like this on trees. Due to natural reasons, the weather is cold and hot. (For example, high temperature followed by rain) will form.
This will also happen if you leave it in the refrigerator for a long time because the refrigerator is relatively damp.
It just looks unsightly and does not affect the food. You can peel off the skin and eat it.