Same boat, very similar to you.
Over the last year or so I'd gone from around 210 to 180. I wasn't sure why. I attributed it to intermittent fasting and not eating as much, but it really didn't make much sense as I was not eating very healthy and drinking a ton of soft drinks.
Finally got around to going to the doctor and had some blood work done. Mystery solved, I was well into type 2 diabetus with an A1C of 11.2 and blood sugar around 300 and triglycerides off the chart at >400. I got caught in a vicious circle. The diabetes would make me thirsty, which would cause me to drink a coke, which would make me more thirsty. The other sign was having to pee about 10 times a day.
Dropped from 4-5 cokes a day to 1 every 2-3 days, switched to sparkling water, fast food several times a week to once a week, sandwiches from several a week to once every two weeks, pizza weekly to once a month, and pasta multiple times a week to none, breakfast sandwiches and tacos to eggs and meat, lunch from crap to a salad most days. I also got on medicine for the triglycerides and blood sugar.
In a month my blood sugar dropped from 300 to 111, triglycerides from off chart to 202 (<150 is good), A1C from 11.2 to 9. (It's a 3 month average so will take another month or two to get down), down to peeing 3-4 times a day and dropped 4 pounds to 176, which at 6'2 seems like a good weight. Going to start some exercise of some sort to help push the sugar, tri and good cholesterol in the right direction.
If you've lost some unexpected weight, are thirsty all the time, and peeing more often than usual you should get your blood checked and make sure you're not on a bad path. My ex-MIL just ignored the signs for years and ended up losing toes and was about to lose a foot but died before she did.
Main culprit is carbs. Get a food tracker like MyFitnessPal and keep below 40 carbs per meal and around 100 per day and you should be moving in the right direction.