The Ambrosetti-Prodi periodic problem: Different routes to complex dynamics