If the recipient has disabled read receipts, messages retain the “delivered” status after they have been read.
It is possible to define read receipts on a contact-specific basis: Go to the contact details and select the desired setting under “Read Receipts.” The setting overrides the default setting only for this contact.