A prosecutor told jurors today that a man fatally shot a Pomona SWAT officer who was helping to serve a search warrant at the San Gabriel home where the defendant and his family lived, while a defense attorney countered that what happened was a tragic accident.