US stocks lower after inflation climbs to 31-year high