The "logical" answer, although not immediately explainable, is that it is related to internal pressure change when shifting to shower, and therefore the issue may be related to the pressure balance spool. Simply install a new cartridge, and if the problem persists, call in an excorsist.