Unveiling the trends between dust attenuation and galaxy properties at z ∼ 2-12 with the James Webb Space Telescope | Synapse