TEHRAN, Iran—Iranian forces seized a British-flagged oil tanker in the Strait of Hormuz, as mounting tensions between Tehran and the West risked further disruption of commercial shipping in the strategically vital waterway.

A second vessel, this one British managed, was boarded by armed Iranian personnel in the Persian Gulf on Friday and later freed, its U.K. managers and a British shipping official said.

Friday’s...