Could also be due to long hours of study.
Try carrying your bag by hand to see if solves the problem(or get one of those small travel
bags with wheels).
If problem persists it may be due to neck strain from spending hours studying. Make sure your in a comfortable posture.
related to school work can cause muscle tension neck/head pain.