God evidently instructed them to bring a blood sacrifice when their conscience convicted them of sin, and He would accept them.
Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?