The word is technically a distillery term for the little hole they cut out of the top of a barrel of whiskey while it’s aging. But it’s commonly used like butthole ever since Beavis and Butthead made it popular. Probably even before that since the words just sound alike.