JOYS+: The link between the ice and gas of complex organic molecules: comparing JWST and ALMA data of two low-mass protostars