I mean, the lit-up signs are for visibility. In some countries pharmacies are assigned strict working hours by the government, so it's useful to see at a glance if a pharmacy is currently open without having to walk right up to the door (and night shifts may require ringing a bell in some of them, so that's also helpful to convey that they are in fact open).
The fancy animations are just because when signs went from neon-lit to LEDs it turned out not all pharmacists have good design sensibilities. At least as far as I can tell.