When buying bus, train or boat tickets at the counter, some countries require you to show your passport.
It is not always the case, and it is more frequent with trains and boats than buses. Take your passport anyway just in case to avoid another round trip to the counter!