When a variable has no variability, such as all the values being exactly the same, which appears to be the case with one of your variables then the standard deviation is zero. Period. Notice that you summary shows that mean, max, and minimum are also all 0 for the first variable.
What happens in this case for correlation is that the constant variable has no correlation because there is no change when the other variable changes values.
I suggest investigating why that variable only has a value of zero will likely gain more information.