Priests and cocktails

According to the book of Leviticus, priests were forbidden from drinking alcoholic beverages when entering the tabernacle. Why?