If you knew how they were done, that feeling of wonder and awe would be gone and could never be gotten back.
Personally, I only feel wonder and awe the first time I see a particular trick anyway... Its the novelty and strangeness that make it wonderous. Once Ive seen it once, a second showing just reminds me of the first rather than feeling amazing and unique - and the memory of my feeling the first time I saw the trick doesnt change regardless of whether Im remembering it because Im seeing it again or because Im investigating it.
After that first time, its like any other feat of mental or physical prowess. I feel inspired or excited by sports or by amazing scientific theories, and I can equally be inspired or excited by feats of dexterity or clever planning and trickery, regardless of knowing how its done. I like the feeling of "Ohhhh, thats clever!" just as much as I like the feeling of "Oh, thats weird!".
I generally enjoy a magic demonstration without looking too closely, but I can get additional enjoyment after-the-fact by discovering more
awesome things about it like how inventive and clever it is.