US stocks have ended on a better and higher note due to better-than-expected inflation reports, which has now made investors more positive, as compared to earlier apprehensions about the possibility of a government shutdown amidst Trump’s fresh tariff threats.