With absolutely no expertise in the field, my understanding is that developing a basic bomb is actually relatively easy - and comparatively cheap.
The really hard part is miniaturising it into a reliable and robust vehicle that can survive re-entry and detonate - in the case of an ICBM.
Cruise missiles, SRBMs, hypersonic glide vehicles and gravity bombs also require miniaturisation.