Because of his lack of faith.
Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?