Why did Johann Sebastian Bach copy music at night?

He had to work during the day
His brother locked it away from children
He could not sleep