The point cloud results obtained using the two methods are inconsistent

Hello, I encountered a confusing situation that I couldn’t figure out. I try to get point clouds using two different methods , however I got inconsistent results which do not meet my expectations.
My codes


Could anyone give me some suggestions

I’m using Isaac Sim 2022.2.1. The result using method 2 seems correct