BART is investigating what led to two separate breakdowns in trains that became stuck and had to be towed, snarling commutes in the middle of rush hour Tuesday evening and then on Wednesday morning.