The premise that most video games are made in Japan isn't entirely accurate. However, many of the companies that produce consoles are based there, and they later expanded with offices in other countries.
Plenty of games are actually created in America and even England. For companies like Japan-based Nintendo, they often develop games so their consoles have strong launch lineups. When a company is largely based in Japan, it tends to make games there, but then ships them to overseas offices for editing and translation.
When video games first became hugely popular, the original titles largely came from Japan. Today, America earns a massive income from gaming too, with Microsoft's Xbox being American-based.