Clowns are territorial fish. You can try adding a tank divider, but depending on the tank size and amount of rock you have, you might have to rehome one of the fish.
Try moving the rocks around and ensure loads of hiding places. It will disrupt the established territory of the clown. Doesn’t work every time but worth a try.