- Make sure you have power to the high beam terminii in the sockets when you have full beams selected.
YES - Replace both bulbs. As mentioned, it can happen that you lose both at once. And, since you're reporting recent work in the area and recent blunt-force trauma, it becomes even more likely (full beam filaments tend to be thinner than those for dip beam, which makes them more fragile.)
NO - Wiring fault in between socket and multi-function switch, or defent in MFS. Inspect and replace PRN.
"Worked When Pulled," in this case, isn't necessarily an indicator of what's going on. Test at least fairly thoroughly.