They were upset because of what Peter and John were teaching the people. By telling people about Jesus, the apostles were teaching that people will rise from death.
Paul knew that some of the men in the council meeting were Sadducees and some were Pharisees. So he shouted, “My brothers, I am a Pharisee and my father was a Pharisee! I am on trial here because I believe that people will rise from death.”