The principal mechanical strength in a solder joint comes from the metallurgical bond formed between the solder and the surfaces it is joining. This bond results from the solder solidifying and adhering to the materials being joined, providing a mechanically strong connection.