They go back to the same PIE root, ar-, per AHD4, along with army, hatred, rite, and rhyme, among others.