What each one really is
WordPress is a mature open-source CMS — you install themes and plugins, and edit content in a WYSIWYG. A custom build is code written specifically for your product (typically React/Next.js or a similar framework) with a purpose-built backend or headless CMS. WordPress is furnished; a custom build is architected.