They had a belief in what the outcome should be before the trial (else you would not go through with / spend money on the trial). A deviation from the expected results really needs to be looked at and you really need to find out why all the prelim testing is not accurately predicting what is actually going on.
Yes, the deviation from expectation really needs to be looked at. The problem is that the financial reward for the companies might be greater to just 'move on' and never publish those unexpectedly negative results. But this means that the unexpectedly positive results for the next test are given undue weight.
I don't think the problem is really the science, or the publishers, or the drug companies, but the unrealistic weight placed on erroneously calculated statistics. This combined with a lot of money at stake forces the companies to "produce results" whether or not this is of long term public benefit.