In the summary, when you tap Marill to make it do an attack animation, it's tail glows. This never was talked about in other Regions Pokedexes and Marill can't learn Tail Glow so why does it's tail glow?
I'm assuming that Marill's tail glows simply because of GameFreak logic. I don't think that there's any other explanation as to why Marill's tail glows.