What was the main cause of the Sino-Japanese War?

What was the main cause of the Sino-Japanese War?

a. Japan wanted to add the island of Formosa to its territory.
b. Japan and China competed for influence in Korea.
c. China’s military became a threat to Japan.
d. China closed its ports to Japan.