The alleged driver of a truck found in Texas carrying dozens of migrants who had died initially tried to pass himself off as a victim before he was arrested, authorities say.