Looks like someone repurposed some fence spikes intended primarily to deter birds and cats from occupying the tops of fences.
Check out this thing I used from Amazon! I have a climbing, chatty tortie who LOVED placing her ass directly on my dish towels/dishes and this fixed it. https://www.amazon.com/dp/B0721735K9/ref=cm_sw_r_cp_api_i_xB3WDbTCKET80
Home-Garden Plant Pot Grid Plant Pot Cover Plant Flower Protector Black,2Packs (11.8 Inch) https://www.amazon.com/dp/B08R831LM3/ref=cm_sw_r_cp_api_glt_fabc_YHVFRT8MVDWAFZ49P7A0 I tried to find ones not on Amazon but it’s a fairly simple concept. They’ve been 100% effective for me.
The coldest spot in the Continental United States as of 12 pm today is in Vermont, where it is only 5 degrees F in a very rural area. Additionally, staying on the ground is warmer as it generally stays warmer.
Links-