What alerted the US that communism in cuba had become dangerous?
It became “dangerous” to US corporate interests when it nationalized US-owned businesses. Increasing hostility by the US toward Cuba pushed Castro away from his more liberal government and more toward Marxism. However, the real danger to the US came from the Cuban-Soviet alliance, which resulted in Soviet missile bases being built on the island. You could look up the Cuban missile crisis for more info.