Japanese monks and emperors kept meticulous records of cherry blossom festivals for 1,200 years. They accidentally built the world's longest climate dataset

https://sh.itjust.works/post/57803561

It’s there a difference in tone or meaning between accidentally and inadvertently? I feel like accidentally means they did something that was a bad thing.
They accidentally became climate change wackos supporting a communist agenda to make everyone gay and push taxes supporting public transportation.