教える vs 教わる, why do these look so similar but mean opposite roles

found both in the same vocab list unit and got them mixed up on a quiz already lol
Post
沐學 Mizuru