Certified GKH Gardening Expert
Have you seen the actual bugs or the eggs inside the fruit? A picture or description of what they look like would help with identification.
Otherwise, this visual guide to symptoms will help you identify the problem:
As this article describes, caterpillars, thrips, scale insects, and others can feed on avocado fruits: