I think coffee and lack of sleep are reasons for eye twitching, but it could be other things too. Like eye strains, which could mean you may need glasses or a stronger lense prescription. And it can also relate to computers too, so if you use a computer too much it can cause stress in your vision.
I am glad by sleeping early you are feeling a difference, hopefully it'll go away for good!