Why does the electricity flicker?
The short answer
Old wiring and shared circuits.
Many medina buildings run on electrical systems installed decades ago, with multiple properties sharing the same supply line. In summer, when air conditioning and refrigeration peak, the load exceeds what the infrastructure was designed for. Brief outages and voltage drops are common, especially in the afternoon heat.