It’s more likely for someone to say Voldemort out loud in a Harry Potter movie than for Apple to mention the amount of RAM on the iPhone. It’s as if Apple is afraid to speak about iPhone memory, even though that’s clearly not the case with the iPad Pro and the Mac.
By the way, the M3 Max MacBook Pro supports up to 128GB of RAM, which is mindblowing. It’s what some professionals might need on a powerful computer. But Apple isn’t as ready to discuss the RAM on iPhones and how increasing it might help with pro-grade tasks.