Reason 1: When you are IFR or VFR with flight following, your flight plan is transmitted along with a computer generated squawk code...if you filed 2 IFR flight plans, the squawk code you’re using is how the system knows which one is active.
Reason 2: When you are on an assigned squawk code...