The president's post came only a half hour before the Labor Department reported that inflation climbed last month.