Since, resistance is a passive element, so why its value comes out to be negative?
You are confusing several things

a) A resistor, a physical passive element that absorbs power

b) A resistance, the mathematical ratio of voltage to current, that can be written for real resistors and for any situation where a voltage and current can be defined

c) An abstract ideal model containing elements that can supply power, like current sources, which can sometimes be useful, to the extent that they describe well the situation you are trying to understand.

If you connect an abstract current controlled current source with an arbitrary transfer ratio to a resistor or two, and then pick out out a random voltage and take its ratio to a non-specific current, you should not be surprised to get an arbitrary resistance, including negative.