A tomahawk has a good INS, which is still expensive, and it has to be able to sit for years in a tube getting banged around with the waves, and launch on a moments notice.
That’s not to say that it should cost 2.5 million, but Ukraine doesn’t need storability and durability because I think they pretty much get driven from the factory to the launch site in a matter of days.
There's not some expensive magic to do that. They buy military grade chips and that's it. Any vendor can make the same with the same promise.