Upvote:2
You can travel as often as you like. Going to Malaysia for vacation does not have any impact on your ability to take a cruise later. Enjoy your vacation and your cruise.
If you show symptoms of a serious infectious disease, you may be advised by doctors not to travel in order to protect the public, and in rare and serious cases, could be quarantined by public health officials. If this happens to you, I assure you that you'll know about it. Occasionally, there are special travel bans for people who have possible exposure to extremely contagious diseases. Such situations are extremely rare, widely publicized, and generally involve cases such as health care workers who have been treating Ebola patients.
Here is the CDC's advice for travel health for Malaysia.
For immigration purposes, repeated and lengthy trips to the same country could pose a problem, depending on your immigration status and that country's rules. It doesn't sound like that's your concern in this question though, but it's worth noting.