Of course they must make a profit. It’s called Capitalism.
Its a lot easier to make a profit with the Department of Defense covers any cost overruns.