In terms of pollution you also have to consider that these boats are being used a lot less than cars. However, another thing to consider is that some of the diesel, petrol, and oil inevitably ends up in the water.
In terms of maintenance and cost, I think it is interesting that battery electric is becoming competitive here. It wouldn't surprise me if some countries start putting rules in place to ban dirty engines from some sensitive areas. Apparently the EU already has a lot of rules around boat engines already that are complicated and hard to enforce and not that effective yet. But like the car industry, boat engines are subject to emission standards, inspections, certifications, etc. and the rules are getting stricter.
I imagine that once battery electric becomes cheap/common enough, a lot of boat owners will choose to go electric rather than buying a cleaner engine just to ensure they stay on the safe/legal side with their boats and avoid fines. Also, doing the right thing when you are actively enjoying nature is probably going to motivate a few people.