Link: https://getloaf.io/
Sound: a hammer hitting real strings vs a speaker replicating the sound. If a speaker gets dust in it or becomes damaged in some way, the sound is greatly diminished. Also, pianos are made of wood which vibrates. The strings at the higher end which aren't dampened vibrate. If I sneeze loud enough, the piano in my room sometimes hums with vibration. It's a living thing.
Yes, pianos need to be tuned and electronic pianos don't... but if you or your child is actually taking lessons and practising, you want a piano. Your technique, I think, will be much better if you learn on a piano with real hammer action vs an electronic piano.
I think the trick to buying a piano is taking your time and only buying the one that sounds right to you. Some people like a more warm, mellow tone. Other people like more brightness and brilliance. The "family" piano we have was purchased 20 years ago and it's a standard upright piano. It's absolutely rock solid, still sounds beautiful.