There is this difference in Ohama. You must use two cards from your hand and 3 from the table. In holdem you can use 1 card, 2 cards or even none and just keep the cards on the table. So they both made a straight, but yours is from 9 to K and his is from T to A. His straight is higher, that's why he won.