In many countries, computer programs, whether in source or object code, are protected under copyright. Then why do many people seek to patent their software-related inventions?

ℹ️ Source: https://www.wipo.int/sme/en/documents/software_patents_fulltext.html