Both holidays arose at the same time, nearly 150 years ago, in the midst of an explosive labor uprising.