U.S. citizens and residents must pay tax on their worldwide income. There is a limited exclusion for earned income (up to $103,900 in 2018), but there is no exclusion for gain on the sale of property abroad.
Rules for determining whether a person is active in a business activity for passive activity rule purposes. Unless the tests are met, passive loss limits apply.