Booking a seat in a train is far more different than booking a seat in a theatre. Theatre is a hall, whereas train is a moving object. So safety concern is very high in trains.
Indian railways ticket booking software is designed in such a way that it will book tickets in a manner that will distribute the load evenly in a train.
Read this article, This will solve your question
Would you believe that the technical reason behind this is PHYSICS