Pep Guardiola was confused by Mike Dean's decision to give Raheem Sterling a red card following his winner as Manchester City beat Bournemouth 2-1.