I just asked as the wikipedia page said that df-41 has nirv but only df-21D has marv
Oh I thought you were asking about MIRV. My bad.
In this case, MARV is basically a warhead with terminal seekers so that it can track moving targets. Such a seeker can be IR/radar but they are all very delicate parts. The key issue here is the speed of the reentry vehicle. IRBMs (like DF-21D) are slower because they do not need as much energy to travel so far. Thus, the reentry heating is a bit more tolerable than ICBMs. The sensors can potentially survive with less hardening.
This means that IRBMs with terminal guidance are a bit easier to build. ICBMs with the same ability will likely cost more because of the extra R&D.
There is also the issue of how to track a target. For ASBMs, you will need to track the moving target with other means before launching. Keep in mind that IRBMs can be supported by long range drones (WZ-8), OTH radars or other frontline units. Building a system that can track a moving ship from 10000 km away is going to be significantly more expensive. Not impossible but definitely costly. Thus, ICBMs with MARV will be more expensive to build and to support.
Finally, there is the issue of warheads. If you can fit nuclear warheads on a missile, why worry about accuracy? Afterall, if ICBMs are being launched, a nuclear war is either in progress or very likely either way. May as well fit a nuclear warhead on the missile and skip all that expensive R&D.