Ponds are outdoors. These probably aren’t the first and definitely won’t be the last unintended inhabitants
If you post a close up clear photo (hard on small things but at least they don’t run away quickly) it would help in identifying them. There are several types of pond snails and they all eat algae. Some of the more common ones to find in most ponds are pond snails (sort of oval shaped with a small point at the far end), ramshorn snails (flat spiral, the shell is usually parallel to the surface they are on when they are small but when they get large they hold the shell upright) and bladder snails (smaller than the others, look like someone sprinkled a tiny amount of glitter on them). I have tons of all of these in my pond and am glad to have them, they clean algae off the bottoms, sides, leaves of healthy plants. I even introduced some to my aquarium a while back where they quickly cleared up my Blackbeard algae outbreak. Since outdoor ponds rarely run out of algae, they usually stick to that and don’t bother your plants. Exceptions are some of the very large invasive snails, those can definitely do a number, but they are all golfball size or larger as adults.