Welcome on HCM.
Every medicine has its good effects for which it is prescribed by a doctor and had some bad effects for which doctor has to decide whether good effect weighs more or not in relation to side effects.
Now your sugar can not be due to this medicine.
Actually you might be suffering from diabetes
and that is the cause of your hypertension
So get your full checkup with all necessary investigation done than come here if need any help.