Health Secretary Robert F. Kennedy Jr. said her isolation was needed to protect public health, though the CDC has recommended home quarantine under certain conditions.