Why
If we have an alien species that has human-like traits or is even "mostly" human, how could this occur?
One logical explanation is that some other species (that probably doesn't look human) has been abducting humans (possibly for millennia), relocating them onto other worlds, and modifying them to fit their new environment and/or to meet whatever other requirements they may have had. It would probably become evident that there had been interference if said world was examined thoroughly by scientists.
If there is just one species out of many (aside from humans) in a setting that looks humanoid, this would also be reasonably plausible.
However, to have a setting where almost all the aliens are humanoid is probably the result of either a limited imagination on the part of the author, or is a calculated strategy - the author may want to make a social commentary that would offend a real-world group, but by saying that "aliens" are doing it, the commentary becomes socially acceptable. The setting may have been designed for visual media such as a movie or television, and aside from reasons of budget and practicality, audiences relate better to more human-like characters. There is also the factor that if a story contains very alien aliens, it is more difficult to keep the story about what the aliens are doing rather than what they are.
Why Not?
As for aliens being fleshy, that again is a parochial solution. Depending on the gravity levels in the alien's place of origin, they may be incredibly fragile with soft, easily torn flesh to incredibly tough with flesh that is more like wood. There are ways that beings with a body structure composed almost entirely of woody material could move, for example by expanding and contracting cells asymmetrically within an appendage. Plants move (usually very slowly) this way.
Why
However, if we have an alien species that does have human-like traits or is even "mostly" human, how could this occur?
One logical explanation is that some other species (that probably doesn't look human) has been abducting humans (possibly for millennia), relocating them onto other worlds, and modifying them to fit their new environment and/or to meet whatever other requirements they may have had. It would probably become evident that there had been interference if said world was examined thoroughly by scientists.
If there is just one species out of many (aside from humans) in a setting that looks humanoid, this would also be reasonably plausible.
However, to have a setting where almost all the aliens are humanoid is probably the result of either a limited imagination on the part of the author, or is a calculated strategy - the author may want to make a social commentary that would offend a real-world group, but by saying that "aliens" are doing it, the commentary becomes socially acceptable. The setting may have been designed for visual media such as a movie or television, and aside from reasons of budget and practicality, audiences relate better to more human-like characters. There is also the factor that if a story contains very alien aliens, it is more difficult to keep the story about what the aliens are doing rather than what they are.