US stock indexes ended the week higher lower as rising oil prices fueled inflation concerns and investors weighed U.S.