Dust, dirt, hair, and other debris can fall into the keyboard over time and obstruct a key’s movement or interfere with its circuitry. Try removing the key that isn’t working, and clean the area under and around it.