Combine beer, ketchup, brown sugar, pineapple preserves, molasses, apple cider vinegar, honey, cayenne, smoked paprika, garlic powder, and onion powder in a pot and cook over medium heat until all ingredients combined, sugars are melted, and the mixture is thickened - about 30 minutes stirring often