Making 2013 Pro SSD work on another Mac – Computer closes after entering the password

My 2013 Pro Mac is broken and I extracted its SSD and mount on an another Mac. The opening screen opens and I see the background image that I have used before and correct username on the screen. However, when i try to enter by supplying the password the computer closes down. What might be the problem?

Note : The computer used for recovering SSD is 2013 model mac pro, the same with the one the ssd belongs to.