These couplings are free parameters in the standard model, their values to be determined by experiment. Their values might be determined by physics beyond the standard model.
An example of how this might work: We suppose that there is a "grand unified force", combining all forces except gravity, whose coupling at the Planck scale is about 1/24. We also suppose that this grand unified force is divided into two forces, strong and electroweak, by a superheavy Higgs field, and then the electroweak force is divided into electromagnetic and weak forces by the Higgs field whose residual boson was observed in 2012.
The strength of force couplings actually varies with energy scale. This running of couplings is described by "beta functions" derived from the "renormalization group equations" of a theory. Given all this, it should be possible to derive the observed values of strong, weak, and electromagnetic forces, by using the beta functions of our grand unified theory, given that the unified coupling is 1/24 at the Planck scale, that the superheavy Higgs mechanism happens below the grand unification scale of 10^15 GeV, and that the electroweak Higgs mechanism happens below the Fermi scale of 246 GeV. (Each time there is a Higgsing, a unified force is broken into two forces with different couplings that run differently.)
A theory like this can then explain why the observed couplings are what they are, using these inputs of 1/24, 10^15 GeV, and 246 GeV. Presumably those numbers (along with other details like the symmetry group of the unified force, and the charges and degrees of freedom of the matter fields), would come from an even more fundamental theory like string theory.