HOUSTON, July 24 (Reuters) - Crude oil futures prices were more than 4% lower on Friday as traders booked profits and after sources said that China had initiated a push to resume stalled peace talks between ‌the United States and Iran, but remained on track for hefty weekly gains.

Both Brent and U.S. West Texas ‌Intermediate crude have rallied this week as the U.S. and Iran exchanged missile strikes, traffic through the Strait of Hormuz fell to a trickle and Yemen's ​Houthis attacked shipping in the Red Sea.

Brent futures pared earlier losses of more than 5% to stand $4.41, or 4.38%, lower at $96.28 a barrel at 11:01 a.m. CDT (1601 GMT), having settled above $100 in the previous session for the first time since May. The contract remained on course for more than a 7% gain this week.

West Texas Intermediate (WTI) futures were down $3.61, or 3.92%, at $88.58 a barrel, on track for ‌a 7% weekly rise.

Energy markets were in ⁠a precarious state on Friday, said Phil Flynn, senior analyst with Price Futures Group.

"Overall stocks remain pretty tight - and that situation could turn on a dime, so it's worth keeping a close watch ⁠as things develop," he said.

U.S. President Donald Trump promised "major military punishment" for Iran and its Houthi allies after the strikes on two Saudi oil tankers in the Red Sea.

Iran had been pressing the Houthis to close the Bab el-Mandeb gateway to the Red Sea if ​the ​U.S. continued to attack Iranian power infrastructure. It is the second most important ​route for energy shipments after the Strait of ‌Hormuz at the mouth of the Gulf.

Additionally, the Houthis declared on Monday that they were imposing a naval blockade on Saudi Arabia, which had been diverting its oil via pipeline to get around Iran's closure of the Strait of Hormuz.

Daily vessel transits through the Strait of Hormuz were steady at three for each of the past three days, preliminary ship-tracking data from Kpler showed. Another two ships — including empty very large crude carrier Noble — entered the Gulf via the strait on Thursday.

Meanwhile, at Bab ‌el-Mandeb, commodity vessel transits totalled 32 on July 23, up from 26 ​the day before, Kpler data showed, with two crossings for July 24 ​so far.

"In the right seas, ships are still moving... ​so it's not a complete blockade as some might have feared," said Giovanni Staunovo, a UBS analyst.

Analysts ‌at JPMorgan said in a note that each ​additional month of disruption to oil ​supply would add around $7 to $8 a barrel to Brent, lifting monthly average prices to around $114 a barrel if disruptions extend to three months.

Elsewhere, Russia said on Friday that its forces had struck three Ukrainian ports overnight targeting infrastructure — ​including loading and unloading facilities and fuel ‌reserves — which supported Kyiv's armed forces.

On Thursday, Kazakhstan's energy ministry said oil companies temporarily reduced production after suspected ​Ukrainian drone attacks forced the country's main Black Sea export terminal to close.

(Reporting by Erwin Seba, Seher ​Dareen. Colleen Howe, Siyi Liu; Editing by Elaine Hardcastle, Kirsten Donovan)