Initially wire between both capacitors is neutral, as the source is connected. Positive charge moves toward B and negative charge move toward A.
when the dielectric is placed between the capacitor plate charge increase, due to which wire ends B having more positive charge flow toward it and more positive charge flow toward B.
Hence, charge on capacitor C1 also increase