You need to be more specific about the parameters constituent of the proposed circumstance you describe. As it stands, the information you have given is subject to a varying number of assumptions in more than a few places. The main problem, being how you worded your first sentence.
Why do certain elements (particularly transition metals) possesses varying charges in different reactions? For example: Iron (Fe), is known to exist as Iron2+ and 3+.