Well, I assume that you’re reffering to EDM-Trap and not Hip-Hop Trap (Yes there is a difference), The difference is in the bassline mainly (I’m not clear on the exact technical terms to use) but Electro-House uses kick drums, whereas Trap uses deeper extended basslines as well as snares and hi-hats. EDM-Trap is a cross between EDM and Hip-Hop in my opinion. Trust your ears and listen to more music from each genre and you should be able to pick out the difference. You might try listening to an Electro-House song you know well, and then finding a good Trap remix to it. (please bear in mind, that like all genres, there are good and bad productions, so search around)