what would cause my back doors to just stop locking? When I lock the doors with on 2004 Chevrolet Silverado 1500

the clicker or the door button the front doors lock and the alarm sets but the back doors do not lock. However, if you open one of the backdoors the alarm does go off. What causes this?