If spending a fortune on the B-21 program ensured no adversaries believed the US invented a fundamental breakthrough in aircraft design, that would be the best reason to do it.
Dropping a program for no apparent reason can be a give away that there is something else...
The Boeing X-45 program is a good example:
https://www.thedrive.com/the-war-zone/3889/the-alarming-case...