Neck pain due to texting? Got headaches sometimes. Affected neck posture? Is it due to muscle tightness or spasm? When I extend my head it relieves.

Texting. At your age this is muscular. Yes it is directly due to you constantly flexing and looking down due to texting. You have to modify this is you do not want neck issues as you get older.