Oil prices rose on Friday as markets weigh the threat of tariffs by U.S. President Donald Trump on Mexico and Canada, the two largest crude exporters to the U.S., that could take effect this weekend.