The European Central Bank warned Thursday that the energy shock unleashed by the Middle East war would sharply push up inflation and hit the eurozone's growth this year.