What’s the difference between an appeal and a motion for rehearing?

A motion for rehearing asks the same judge to reconsider. An appeal asks a higher court to review the decision.