Shares of energy companies fell after earnings reports from some oil giants.

Exxon Mobil, the largest U.S. oil-and-gas company, reported $4.7 billion in second quarter profit, a dramatic swing from a loss a year earlier.

Similarly, U.S. rival Chevron; Anglo-Dutch major Royal Dutch Shell and France's Total Energies all posted multi billion dollar quarterly profits.

The number of rigs drilling for oil in the U.S. fell by two in the latest week to 385, according to oil-field services company Baker Hughes.

Oil futures ticked up to close slightly higher on the month, coming within a whisker of multiyear highs.

Write to Rob Curran at rob.curran@dowjones.com

(END) Dow Jones Newswires

07-30-21 1630ET