Why is it that the following returns a tensor with shape [10,4]?

test=torch.ones(10,4)
print(test[torch.arange(10)][torch.arange(4)].shape)

Intuitively it should return the entire original tensor, test.