The scientist most likely found an igneous rock, specifically a volcanic glass such as obsidian. This type of rock is characterized by its smooth and glassy appearance, which occurs when lava cools rapidly after being expelled from a volcano.
When magma from below the Earth's surface erupts during a volcanic event, it can flow out as lava. If this lava cools quickly, often due to exposure to air or water, it does not have enough time for crystalline structures to form. As a result, the lava solidifies into a glass-like texture, leading to the formation of rocks such as obsidian. Thus, the smooth and glassy characteristics of the rock indicate that it is an igneous rock formed through rapid cooling of molten material.