Why would a defense program use a custom ASIC instead of off-the-shelf components?

A custom ASIC can replace obsolete or end-of-life parts, consolidate multiple ICs into one device, and reduce size, weight, and power. For programs with long lifecycles, it also gives the program a supply path it controls rather than depending on catalog parts that may be discontinued.