Yes , Weak eye muscles alongwith excess near / digital work can give you these kinds of headaches and other symptoms
Next Steps
Yes the exercises are helpful , continue these pencil eye exercises for about 10-12 weeks . also you can apply refresh tears or Lubrex eye drops for 3-4 times a day , especially if you are more into laptop / smartphone throughout the day .
Health Tips
regular follow up with local ophthalmologist