Consumer prices in the US rose 8.5% in the 12 months ending in March, according to data released Tuesday by the Labor Department, climbing at the quickest pace in four decades following an unprecedented surge in gas prices last month spurred by Russia’s invasion of Ukraine.