Well, Some frogs don't care where it is, so long as it's a water source, they'll lay their eggs there.
Some frogs lay eggs in shallow ditches where water has collected, some in buckets outside that has water collected in it.
If these tadpoles are already developing, it's probably best to let them finish or maybe gently release them into the pond nearby. Or maybe care for them if you can.