Capacitance is given by, C=ϵAdwhere A= Area of plates, d= distance between the plates
If one plate is brought closed, i.e, d decreases, capacitance of that capacitor will increases.
Since, C=qV
If capacitance of capacitor is increased, Voltage of that capacitor will decreases.
So, Voltage on the capacitor whose plates came closer is smaller than the voltage on the capacitor that is not moved.