At first, Jesus began teaching only his disciples (Matthew 5:1). But large crowds soon followed him up the mountainside.
The teachers of religious law based their authority on Scripture they quoted or on the traditions of earlier scholars. In contrast, Jesus taught with direct authority.
He did quote Scripture in the Sermon on the Mount. Yet his words carried the weight of his own authority as the Messiah (God’s chosen one).