These are aquatic snail eggs. They can reproduce asexually so it only takes one baby or egg to sneak in with the fish, snails or plants and the population will grow.
If you're frogs DID lay eggs in the water snails might eat them but I'm not sure, it would depend on the snail.
That video condenses the development cycle of Ramshorn snail eggs much like the ones you've posted here into just a few minutes so you can compare to your images and confirm.
If you try to kill the snails be aware that many remedies, and any
containing copper, would almost certainly also kill your shrimps. I would just manually remove snails and eggs in order to control the population but normally it will stabilise based on the amount of food available pretty quickly and not grow out of control.
Freshwater puffer fish will also feed voraciously on most snails.