Same way any inanimate system can respond. Think of it more like action/reaction than anything else. I.e. there is no agency just a set of interacting rules.
Yea, I think the original wording is fine, although I'd think of it more like the elephant genes are a river that got dammed, so the river started flowing around. Saying the river responded to the dam would be similar.