A bus traveling through the southern Mexican state of Oaxaca on Wednesday crashed into a ravine, killing 29 people, local authorities said.