Dragons appear in folklore from all over the world. Japanese, Germanic, you name it. It would appear that dragons developed organically in these cultures, independent from one another.
How did this happen?
Maybe someone wants to add onto this further, but until then I'd suggest you read this excellent summary of the history of dragons that u/AdamSC1 wrote some years back.