Question [Q] strange SIM card recognition problem

hi, i recently bought a new samsung galaxy S5 and gived my old galaxy S4 LTE to my mother as a gift but the problem is my old sim card works in my new galaxy S5 & S4 and my mothers sim card only in the S5 and not the S4 i find it strange i looked every where for a solution, this is my last hope..

sorry for my bad english....