In all fairness, Texas couldn't get a fraction of a yard all night when they needed to by simply running it, so two yards to go probably felt like 3rd and a country mile... hence the pass call.
Bottom line is, Texas' defense played admirably all night but their offense stunk the place up time and time again. Painful to watch actually.