I dont see that there is any semantic difference between the two phrases. However, to me, the tone of each phrase and the visual imagery each one conveys are somehow different. 'To and fro' feels like the motion is light, flowing and mellifluous; whereas, 'back and forth' seems automatic, mechanical and methodical. Ballet versus a military drill perhaps!