They were upset because the two apostles were teaching the people. Peter and John were preaching that people will rise from death through the power of Jesus.