The selfish gene theory is not a theory about selfishness in the everyday sense. It is a theory about the evolution of behavior.
A good scientist is like a detective, always looking for clues in the details.