It sounds like he was excited about it using some new tech and then was upset when you blithely smashed on him.
Would it have been more emotionally mature of him to put that aside and listen to your criticisms? Yes, of course. But you probably could have saved some trouble and conflict by sharing in his joy a little before helping him understand the pitfalls and issues.