The other question I'm wondering would be, how could it be possible in that case that A -> B directly would be more expensive than A -> B ->C ?
Of course, the second flight probably isn't 100% sold out, and you might have gone with a competitor or not taken the trip at a higher price. But they don't necessarily see that, much like music labels don't necessarily understand that every instance of piracy is not a lost sale.