Feedback, anti-feedback, and complexity in time-varying systems