The U.S. military on Thursday anchored a makeshift pier afloat off the Palestinian territory’s coastline to the Gaza shore, officials said, preparing to begin aid deliveries in an operation directed by President Biden to help alleviate the humanitarian crisis there — but whose critics fear it will leave American troops vulnerable to attack.