Just curious... how big are these spots? How many are there? They appear to be tiny based on the size of the glass fibers .
If it’s small and there are several similar spots, then it’s not damage from a collision.
If that’s the case, it looks like a small, surface blister between the gelcoat and the chopped Matt layer of cloth. Chopped strand mat was laid over the gelcoat in the mould for the first layer, on a lot of boat brands. Chopped strand mat is difficult to saturate with resin, and (though it's hard to tell from just one picture) the picture appears to be chopped fiber mat that wasn’t completely wetted out. When the fibers aren’t completely saturated, they can absorb water through the gelcoat and local blisters form.
Blisters between the gelcoat and the mat the are almost always cosmetic, not a structural concern. So, it’s not a big worry.
In contrast, if the deeper layers of woven glass weren’t saturated with resin, then I would worry, That would be a structural concern.
Gelcoat isn’t waterproof, it’s very slightly permeable.
The usual repair for surface layer blisters is to grind the gelcoat and dry mat away until you to saturated mat. Then fill with waterproof two part marine putty, and then paint or gelcoat.