From LivingPianos.
FULL ARTICLE: https://livingpianos.com/mozart-fantasy-in-d-minor/
Mozart was known to improvise music at gatherings. This was a common practice at the time. Sometimes there would be events with several keyboardists dueling it out trying to outdo each other! Naturally, Mozart astounded audiences with these displays of instant composition.