Final answer:
The object sank in water because it is denser than water. However, it floated in oil because oil is less dense than water.
Step-by-step explanation:
The object sank in water because it is denser than water. When an object is denser than the fluid it is placed in, it will sink. However, when the object was dropped into the glass of oil, it floated because oil is less dense than water. Objects that are less dense than the fluid they are placed in will float.