Officials are investigating after protected birds were badly injured and killed during a tree-trimming project in Oakland.