The passive voice is appropriate if you wish to emphasize the receiver of the action or to minimize the importance of the actor.
The writer of the first sentence wished to emphasize the receivers of the action, Hawaiians. The writer of the second sentence wished to focus on the tobacco plants, not on the people spraying them.
In much scientific writing, the passive voice properly emphasizes the experiment or process being described, not the researcher.
Related topic:
Passive voice