How do make a sprite of a drinking glass have a solid bottom and side with gravity

I am trying to make a sprite of a 2D drinking glass have a solid left and right side and bottom. And the glass should have gravity but at the same time you can drop something into the glass without it falling through the glass.

Sorry if this sounds too easy to make but I am new and it is a challenge for me. Any help would be apprecitated

2D drinking glass have a solid left and right side and bottom
Add an EdgeCollider2D and set the points to create the glass U shape.

And the glass should have gravity.
Nothing “has gravity”; Gravity is applied to a Dynamic Rigidbody2D so add one of those.