You need to prepare the envelope mesh in a special way.
For this to work you need a shape with at least 5 anchors.
Select the 4 anchors at the corners of the shape with direct select. Then Object > Make Mesh. Use 2-3 rows/columns.
Then apply this mesh via Object > Envelope Distort > Make with top object