It appears (from family interviews) that pilots were fasting.
There are also claims from multiple media sources that the Captain had been rejected previously by the airline Psychiatrist as "not fit for duty". The captain went outside of the country and brought a different psychiatrist result instead.