Nintendo itself maintains price parity between its digital-only and physical releases.
However, you'll find many other publishers that sell the Switch eShop version of the game at a cheaper price than the physical cartridge. This is usually due to the increased costs associated with creating and distributing a physical product versus a digital download.