Investors & landlords

I own the property but do not live there as I am on active duty orders to a new assignment.
I am renting my house out.

I am mainly curious if there is a way to write off any losses as a result of a spike in my mortgage while still charging the same rent.