In your first code, you are just creating an object. And in the second piece of code, you are creating an object and putting it into a variable.
Let's have an analogy here, imagine that objects are like balloons, and the variables are like kids holding the balloons. In your first code, you create a balloon and "Let it go". And it flies away. In the second code though, you create a kid and a balloon and you told the kid to hold it. Now you can ask the kid for the balloon and you can access it.
So long story short, You cannot access the List in the first code.