Is my hair loss hereditary or could it be because of some other reason?

See your doctor. This problem can only be solved by seeing your doctor and being evaluated face-to-face. After a thorough examination, your doctor should be able to tell you what's wrong and what to do about it.