The batteries might not discharge all evenly/at the same rate because of the internal/ionic resistance or aren't charged all exactly to the same level when you buy them, hence when you connect them up in parallel you one battery will 'attempt' to charge the other battery if it's not at the same cell voltage.
So the non rechargeable primary cells tell you not to connect them in parallel.
Dave did a video on battery ionic resistance: