I highly recommend the book "Deep Simplicity" by John Gribbin.^1
It explores precisely this topic: the emergence of unexpectedly rich, complex behaviors from very simple rules given feedback and sensitivity to initial conditions.
1. https://www.penguinrandomhouse.com/books/71851/deep-simplici...
Another recommendation, with a biological slant: One Hand Clapping: Unraveling the Mystery of the Human Mind by Nikolay Kukushkin.
https://nikolaykukushkin.com/book