I just realized that the Moto E 2nd gen only has one speaker -- the earpiece speaker also serves as the loudspeaker. If you turn on speakerphone, does the sound go away? I'm not exactly sure how the wiring is in that phone, but perhaps the wiring responsible for all sound intended to go through the loudspeaker (i.e., media, ringtones, notification tones, and speakerphone audio) has failed.
I've seen in some articles that it could be a loose connection.
This article suggests, "You could try gently pressing around the top portion of your phone to see if the speaker comes to life. Some people also report success after slapping it, but be careful not to slap it too hard."