What does the scotch in scotch bonnet mean?

"Scotch" (not including the trademark adhesive products from 3M) refers to anything from Scotland (like "Scottish" would be). In the nomenclature of alcoholic beverages, "scotch" refers to scotch whisky, a type of whisky distilled in Scotland. It generally has this smoky and/or peaty taste to it.