Most visitors arrive on a phone, often on mobile data. If a page takes more than a few seconds to appear, many of them leave before they see anything. Speed also affects how Google ranks your site.
The biggest factors
Images: the right size and a modern format can cut a page's weight dramatically.
Hosting: a good server close to your visitors answers faster.
Code: fewer and smaller scripts mean the browser has less work to do.
Fonts: loading only the weights you use keeps text appearing quickly.
Can a fast site still have animation?
Yes. Animation built with the right tools runs smoothly when it only moves elements on screen, and heavier 3D can load after the page is visible. The trick is to plan performance from the start instead of fixing it at the end.