According to legend, and this cathedral is shrouded in 'mystery', the townspeople made a pact with the devil when they ran out of money to complete the church! Here it is on their website: https://www.aachen-tourismus.de/en/discover/myths-legends/#c12823