I think the key is not the perfect one or the circuit inside is damaged.I would suggest you to consult a good locksmith to open the key or to change the key which suits it.
We’re the best Subaru Forester Owners Forum to talk about the best years of the Subaru Forester, modifications and reliability history of the Subaru Forester.