Students and parents are breaking their back-to-school budgets thanks to inflation and social-media trends.