The Trump administration’s move to loosen rules of engagement for U.S. cyberattacks has prompted questions about how the military will carry out offensive digital strikes, and whether hostilities with foreign adversaries will rapidly escalate.

Cybersecurity experts and former officials said it was impossible to determine whether President Trump’s move was a step in the right direction or a mistake because the details of such policies are classified.

“The...