"I exit the hospital."
Is there a reason behind using に for entering and を for leaving? Is that just the way it is?
I would also like to know why we use に for 入る but を for 出る. Both are intransitive verbs according to the dictionary and I thought we use を only for transitive verbs.