Assume that we have two components, R1 and R2, that we wire in series. Assume that the voltage across R1 is 10 V, and the voltage across R2 is 30 V.
We can illustrate this case with the following image:
If we now wire a voltmeter in parallel over both components, between the points marked A and B in the image, the voltmeter will then show the potential difference as 10 V + 30 V = 40 V.
Now assume that we wire the two components in parallel as shown in the image below:
We now assume that we adjust the current, and add some other components to the two branches, so that the voltage across R1 yet again becomes 10 V, and the voltage across R2 yet again becomes 30 V.
If we then wire a voltmeter between the points labeled A and B on this image, the voltmeter will then show the potential difference as 30 V - 10 V = 20 V.
What is the intuition as for why we subtract the two values in the second scenario? I know how to do the calculations, but I struggle a bit to intuitively understand why the voltmeter will not show 40 V in the second case as well.