I don’t know either. It may very well be something that evolved, but it is definitely something that became common after Vatican II.
I’ll look into it though.....
Face to face confession is not mandated, it is purely optional. every parish I have gone to has the screen available. Personally I prefer face to face, especially if discussing a sensitive matter.