Global right wing parties are connected by strategy sharing institutes. Souring sentiment towards immigrants is part of the playbook of these political movements. Minor parties in japan picked this up and ran hard with it and started to pick up votes, so the incumbent party shifted that way too. I think it's ultimately all part of shifting social norms towards deregulation and privatisation.