The evolution of instincts is indeed fascinating. Heritable instincts can evolve and change very fast - within a few generations.

I remember having read about crows. They eat walnuts that they usually drop on stones for cracking them open. Since the second half of the 20th century, crows living close to streets were observed to wait at crossings until the traffic lights turn red. Then they place nuts in front of vehicle wheels. When the lights turn green, they fly away and vehicles drive over the nuts. At the next red time the crows pick up the cracked nuts.

This is quite a complex behavior developed in a short time, not more than a century. Evolution explains this by a mutation or gene shift (= one crow develops a new hereditary instinct) followed by natural selection (= crows with this instinct have an evolutionary advantage). Of course, creationists have certainly a different explanation (= God has foreseen vehicles and traffic and made crows already with this instinct).