The rise of mental health problems among students in the past 12 months has coincided with the cost-of-living crisis.