Don't know what caused the vision problems but I can tell you one thing for sure, there's no way a buddy can look at your eyes and "tell you they're fine". There's a lot of stuff that goes on inside the eyeball and an untrained professional without an ophthalmoscope isn't going to be able to discern much of anything.
The fact that you can focus either eye independently but the problem occurs with both eyes open leads to a strong possibility that you're having problems with your binocular vision, more specifically there is probably difficulty converging the eyes, in other words the effort that it takes to maintain clear, single binocular vision is so great that the eyes are probably over focusing and driving excess convergence which causes the blur.
Next time it happens try looking at something far away, alternating covering each eye and then with both open. Then do it looking at an object at about arm's length. I'm going to wager a guess that your vision problem is worse close up. You can also do a "pen to nose" test where you slowly move a pointy object to your nose and see how close you can get without it becoming 2 images. Do this test under normal conditions and see if there's a noticable difference.
If so that means something is effecting the innervation to the medial rectus extraocular eye muscles and it could be a sinus pressure sort of thing but that's just one possibility of several, another is a momentary period of low blood circulation to the muscle which is a very mild version of sort of what happens to stroke victims who suddenly see double and one eye is pointed in the wrong direction. These poor folks usually need prism in their glasses, at least short term, sometimes forever if the problem doesn't resolve within 6 months it's probably never going to.
Obviously there is no way to say for sure without more tests being done at that particular moment. You could also check for subtle damage to an extra ocular muscle by doing a "pen rotation" where you view a sharp pointed object and rotate it in a large circle and see if there is a particular field of gaze where it breaks into 2 images. This test, and those above would be done by a competent vision care professional when you get yourself checked.