I think it's called a ticket because having the ticket is what lets you travel. Stealing tickets is illegal because if you have the ticket, you can travel. If you have to be the person who bought the ticket in order to travel, you don't need a ticket, because you can prove that you're the person who bought it.