The commander of the detention center ordered the transfer because prisoners participating in the hunger strike had covered up security cameras and blocked windows, making it difficult to monitor their health during a protest that has lasted more than two months, said Navy Capt.