Because he was destitute of faith and had no moral compass.
Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?