The honest answer is that no specific influence has been established.
The game's premise is simple enough that it does not seem to need one: you guide a frog across a busy road and then a busy river, hopping between lanes and onto floating obstacles, with the tension coming entirely from timing. Both halves are familiar hazards, which may be why the design feels self-explanatory.
Attempts to trace where the idea originated have not produced a documented source, so any account claiming to know the exact inspiration should be treated sceptically. What can be said with confidence is the effect it had — Frogger became one of the defining arcade games of the early 1980s and one of the most frequently ported titles of its era.