The issue is that the father reacts with anger.  


The child was looking at something that obviously is very interesting and new to a 12 year old. There might, most likely, also be some guilt involved with this curiousity.  


The father does not need to go buy the daugther a sybian machine. He, however, needs to talk with her about her sexuality and curiousity. Slamming the laptop shut and grounding her is such an extreme reaction for what is in essence an expression of a tweens sexuality and thus, identity. Acting with such extreme aggression will mean that the child will now not feel safe sharing anything of that nature with the father.  


Better take the talk when she's looking up toys at amazon than having her being too afraid to discuss pregnancies with her dad when she's 15.