It would be more convenient for the enzyme to work only in the forward dirrection, but unfortunately, enzymes cannot break the laws of nature. Enzymes work by lowering the energy of the transition state which can only increase the rate of the reaction (in both dirrections) but cannot alter the thermodynamics of the reaction (i.e. whether products or reactants are preferred).
Obviously it is more favorable to hydrolyze ATP than to synthesize ATP, else other reactions in the cell could not derive
free energy from the hydrolysis of ATP. ATP synthase is able to synthesize ATP because it couples the energy of proton flow across the mitochondrial inner membrane to drive ATP synthesis (similar to how a dam harnesses the energy of water flowing downhill to generate electricity). Since it is technically difficult to setup a similar proton
gradient in a lab, most experiments on ATP synthase examine the reverse reaction. In this case, the enzyme will be hydrolyzing ATP to pump protons through the enzyme.