Let $G$ be a group and $H$ a subgroup, now for every $g \in G$ we define $\sigma_{g}:G/H \rightarrow G/H: xH \mapsto gxH$. Note that we know nothing about the subgroup $H$.
My question is whether or not the function $\sigma_{g}$ is even well-defined in all cases. After all if $xH=yH$, why should $\sigma_{g}(xH) = gxH = \sigma_{g}(yH) = gyH$? It seems to me like the only way this works for every $g \in G$, is if $H$ is a normal subgroup. Am I missing something?
Context: I had this question after reading option 2 in https://www.math3ma.com/blog/4-ways-to-show-a-group-is-not-simple.