What happened to those pears?
Hi- your fruits may be exhibiting these symptoms for one or more reasons:
Stink bug feeding that could distort the fruit and would lead to many small, hard spots right under the fruit skin at the feeding sites.
Bitter pit can cause fruit distortion and leads to small, hard, brown spots anywhere between the core and the skin. It's caused by a lack of calcium in the fruit due to dry weather and a lack of irrigation (even when there is sufficient calcium in the soil).
Stone cells (grit cells) are collections of cells that buildup thickened cell walls and are normal in pear. Larger and more numerous clusters of stone cells can result from environmental stress, such as hot, dry weather.
The best thing you can do next year is to keep your pear tree well-watered during extended dry periods.