I've had countless discussions with teachers about this. They all have seen that handwritten notes consistently result in better learning outcomes for students of all ages. There are lots of theories and nobody seems to really know why but the effect is strong and consistent.
That might make for an interesting study. Although, the tactile sensation of writing on a tablet still doesn't match that of pencil and paper. So there's a big confounder there.