I've worked for several companies that bid on government contracts, and I've seen several cases where companies will offer do a job at a loss because they think that winning the contract will have a secondary effects that will let them make up the loss later.