Because it's the very definition of sin. It's an unrepentant violation and rejection of the 4th commandment among others.
Jesus healed, among other things, on the Sabbath.
He was called out for it by the Pharisees of His day.
Did Jesus sin in this?